import { lightThemeColors, darkThemeColors, ThemeColors } from './colors';

// 获取屏幕选项配置
export const getScreenOptions = (colors: ThemeColors) => ({
  headerShown: true,
  gestureEnabled: true,
  animationEnabled: true,
  cardStyleInterpolator: ({ current }: any) => ({
    cardStyle: {
      opacity: current.progress,
    },
  }),
  cardStyle: {
    backgroundColor: colors.background,
  },
});

// 主题配置导出
export const themeConfig = {
  light: lightThemeColors,
  dark: darkThemeColors,
};